﻿using WeDonekRpc.Model.Model;
using RpcStore.Model.DB;

namespace RpcStore.DAL
{
    public interface IServerClientLimitDAL
    {
        long Add(ServerClientLimitModel add);
        void Clear(long serverId);
        void Clear (long rpcMerId, long serverId);
        void Delete(long id);
        ServerClientLimitModel Get(long id);
        ServerClientLimitModel Get(long rpcMerId, long serverId);
        void Set(long id, ServerClientLimit config);
    }
}